package com.aggregate.pay.swiftpass.support.client;

import com.aggregate.pay.swiftpass.bean.WeixinNativeData;
import com.aggregate.pay.swiftpass.bean.WeixinNativeResult;
import com.aggregate.pay.swiftpass.support.AbstractClient;
import com.aggregate.pay.swiftpass.support.Merch;

/**
 * 微信扫码支付接口
 * @author Moyq5
 * @date 2019年2月19日
 */
public class WeixinNative extends AbstractClient<WeixinNativeData, WeixinNativeResult> {

	public WeixinNative(Merch merch) {
		super(merch);
	}

	@Override
	protected Class<WeixinNativeResult> getResultClass() {
		return WeixinNativeResult.class;
	}

	@Override
	public WeixinNativeResult execute(WeixinNativeData data) {
		data.setService("pay.weixin.native");
		return super.execute(data);
	}

}
